<%@ include file="/common/taglibs.jsp"%>
<head>
    <title><fmt:message key="simulatorList.title"/></title>
    <meta name="menu" content="SimulatorMenu"/>
</head>
<div class="col-sm-10">
    <h2><fmt:message key='simulatorList.heading'/></h2>

    <div id="actions" class="btn-group">
        <a class="btn btn-primary" href="<c:url value='/simulatorform'/>">
            <i class="icon-plus icon-white"></i> <fmt:message key="button.add"/></a>
        <a class="btn btn-default" href="<c:url value='/home'/>">
            <i class="icon-ok"></i> <fmt:message key="button.done"/></a>
    </div>

    <display:table name="simulatorList" class="table table-condensed table-striped table-hover" requestURI=""
                   id="simulatorList" export="true" pagesize="25">
        <%--<display:column property="id" sortable="true" href="simulatorform" media="html"
                        paramId="id" paramProperty="id" titleKey="simulator.id"/>--%>
        <display:column property="type" sortable="true" href="simulatorform" media="html"
                        paramId="id" paramProperty="id" titleKey="simulator.type"/>
        <display:column property="responseCode" sortable="true" titleKey="simulator.responseCode"/>
        <display:column property="description" sortable="true" titleKey="simulator.description"/>
        <display:column property="data1" sortable="true" titleKey="simulator.data1"/>
        <display:column property="data2" sortable="true" titleKey="simulator.data2"/>
        <display:column property="data3" sortable="true" titleKey="simulator.data3"/>
        <display:column property="data4" sortable="true" titleKey="simulator.data4"/>
        <display:column property="data5" sortable="true" titleKey="simulator.data5"/>
        <display:column property="data6" sortable="true" titleKey="simulator.data6"/>
        <display:column property="data7" sortable="true" titleKey="simulator.data7"/>
        <display:setProperty name="paging.banner.item_name"><fmt:message key="simulatorList.simulator"/></display:setProperty>
        <display:setProperty name="paging.banner.items_name"><fmt:message key="simulatorList.simulators"/></display:setProperty>
        <display:setProperty name="export.excel.filename"><fmt:message key="simulatorList.title"/>.xls</display:setProperty>
        <display:setProperty name="export.csv.filename"><fmt:message key="simulatorList.title"/>.csv</display:setProperty>
        <display:setProperty name="export.pdf.filename"><fmt:message key="simulatorList.title"/>.pdf</display:setProperty>
    </display:table>
</div>